﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using System.Data;
using System.Data.SqlClient;


namespace DAO
{
    public class ChiTietDichVu_DAO
    {
        public static Boolean ThemChiTietDichVu(ChiTietDichVu_DTO ctdv_dto)
        {
            List<SqlParameter> ParaArr = new List<SqlParameter>();
            string procname = "sp_ThemChiTietDV";
            ParaArr.Add(new SqlParameter("@MaHDDichVu", ctdv_dto.MaHDDichVu));
            ParaArr.Add(new SqlParameter("@MaDV", ctdv_dto.MaDV));
            ParaArr.Add(new SqlParameter("@KetQua", ctdv_dto.KetQua));
            return DataProvider.NonqueryProc(procname, ParaArr);
        }
    }
}
